<template>
  <div id="app">
    <Header/>
    <router-view></router-view>
    <Footer v-show="this.$route.meta.footer"/>
  </div>
</template>

<script>
import Header from "./components/Header/Header.vue"
import Footer from "./components/Footer/Footer.vue"
import {mapActions} from 'vuex'
export default {
  name: 'App',
  components: {
    Header,Footer
  },
  methods:{
    ...mapActions('home',['list','mocksbanner','floordata']),
    
  },
  mounted(){
    localStorage.setItem('locked',true)
    this.list();
    this.mocksbanner();
    this.floordata();
  }
}
</script>

<style>

</style>
